﻿using Common.Library;
using System;

namespace Project.Model
{
    /// <summary>
    /// 工程查询结果返回信息
    /// </summary>
    public class ProjectInfoQueryResponse
    {
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string ProjectName
        {
            get; set;
        }


        /// <summary>
        /// 
        /// </summary>
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Contract
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string ContractName=> EnumExtentions.GetEnumDescriptionByValue(int.Parse(this.Contract.ToString()), typeof(ProjectContractualNature));


        /// <summary>
        /// 
        /// </summary>
        public decimal? ContractMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string ChinaMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Charge
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Phone
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public decimal? ProjectArea
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public int? ProjectTypeID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string ProjectType => EnumExtentions.GetEnumDescriptionByValue(int.Parse(this.ProjectTypeID.ToString()), typeof(ProjectType));


        /// <summary>
        /// 
        /// </summary>
        public DateTime? StartDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? EndDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string SJDW
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string SGDW
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string JSDW
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public int? CheckZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public decimal? AuditMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public string AuditChinaMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateTime
        {
            get; set;
        }
    }
}
